package com.sdnu.service.service;

import com.sdnu.service.entity.ucenter.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sdnu.service.entity.ucenter.excel.UserDemo;
import com.sdnu.service.entity.ucenter.vo.LoginVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Zhao YunLai
 * @since 2021-12-05
 */
public interface UserService extends IService<User> {

    void addUserBatch(MultipartFile file, UserService userService);

    boolean addOneUser(UserDemo userDemo);

    User login(LoginVo loginVo);

    Boolean changePassword(LoginVo loginVo);

    String createAndUploadUserAvatar(String userName,String filePath);
}
